import { axios } from '@/utils/request'

/**
 * 查询积分记录表
 *
 * @author gyp
 * @date 2023-07-28 10:13:54
 */
export function carIntegralInfoPage (parameter) {
  return axios({
    url: '/carIntegralInfo/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 积分记录表列表
 *
 * @author gyp
 * @date 2023-07-28 10:13:54
 */
export function carIntegralInfoList (parameter) {
  return axios({
    url: '/carIntegralInfo/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加积分记录表
 *
 * @author gyp
 * @date 2023-07-28 10:13:54
 */
export function carIntegralInfoAdd (parameter) {
  return axios({
    url: '/carIntegralInfo/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑积分记录表
 *
 * @author gyp
 * @date 2023-07-28 10:13:54
 */
export function carIntegralInfoEdit (parameter) {
  return axios({
    url: '/carIntegralInfo/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除积分记录表
 *
 * @author gyp
 * @date 2023-07-28 10:13:54
 */
export function carIntegralInfoDelete (parameter) {
  return axios({
    url: '/carIntegralInfo/delete',
    method: 'post',
    data: parameter
  })
}

/**
 * 导出积分记录表
 *
 * @author gyp
 * @date 2023-07-28 10:13:54
 */
export function carIntegralInfoExport (parameter) {
  return axios({
    url: '/carIntegralInfo/export',
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}
